package top.lingkang.finaloauth.server.config;

import top.lingkang.finaloauth.entity.OauthClient;
import top.lingkang.finaloauth.entity.OauthUser;

import java.util.ArrayList;
import java.util.List;

/**
 * @author lingkang
 * Created by 2022/3/16
 */
public class OauthServerConfig {
    private String headerTokenName = "Authorization";
    private String paramTokenName = "access_token";
    private String loginUsername = "username";
    private String loginPassword = "password";

    private List<OauthClient> oauthClients = new ArrayList<>();

    private List<OauthUser> oauthUsers = new ArrayList<>();


    public List<OauthUser> getOauthUsers() {
        return oauthUsers;
    }

    public void setOauthUsers(List<OauthUser> oauthUsers) {
        this.oauthUsers = oauthUsers;
    }

    public List<OauthClient> getOauthClients() {
        return oauthClients;
    }

    public void setOauthClients(List<OauthClient> oauthClients) {
        this.oauthClients = oauthClients;
    }

    public String getHeaderTokenName() {
        return headerTokenName;
    }

    public void setHeaderTokenName(String headerTokenName) {
        this.headerTokenName = headerTokenName;
    }

    public String getParamTokenName() {
        return paramTokenName;
    }

    public void setParamTokenName(String paramTokenName) {
        this.paramTokenName = paramTokenName;
    }

    public String getLoginUsername() {
        return loginUsername;
    }

    public void setLoginUsername(String loginUsername) {
        this.loginUsername = loginUsername;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
    }

}
